package com.tang.remote;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by summer on 2017/5/15.
 */
@Component
public class OrderRemoteHystrix implements OrderRemote {

    @Override
    public String getOrder(@RequestParam(value = "name") String name) {
        return "用户1获取的订单名称：" +name+", 获取该订单失败！";
    }
}
